* {
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

body {
    background-color: #f3f5f7;
}

/* 
        版心 1200
        导航栏用li加a组成
        */
.w {
    width: 1200px;
    margin: 0 auto;
}

.header {
    height: 42px;
    /* background-color: pink; */
    margin: 30px auto;
}

img.logo {
    float: left;
    width: 198px;
    height: 42px;

}

ul.nav {

    float: left;
    /* 
    不给宽度 默认为内容宽度
    */
    margin-left: 60px;
}

ul.nav>li {
    float: left;
    margin: 0 15px;
}

ul.nav>li a {

    float: left;
    height: 42px;
    /* 文字不一样多 所以用padding */
    padding: 0 10px;
    line-height: 42px;
    font-size: 18px;
    color: #050505;

}

ul.nav>li a:hover {
    border-bottom: solid #00a4ff 2px;
    color: #00a4ff;
}

div.search {
    float: left;
    height: 42px;
    width: 414px;

    background-color: skyblue;
    margin-left: 50px;
}

div.search>input {
    float: left;
    width: 345px;
    height: 40px;
    border: #00a4ff solid 1px;
    border-right: none;
    color: #bfbfbf;
    font-size: 14px;
    padding-left: 15px;
}

div.search>button {
    border: none;
    float: right;
    width: 53px;
    height: 42px;
    background-color: #00a4ff;
    background-image: url('../../../picture/images/search.png');
    background-repeat: no-repeat;
    background-position: center;
}

div.user {
    float: right;

    height: 35px;
    /* background-color: saddlebrown; */
    margin: 4px 0;
    margin-left: 25px;

}

a.hearpicture {
    float: left;
    width: 33px;
    height: 33px;
    margin: 1px;
    margin-right: 0;
    border-radius: 16.5px;
    background-image: url('../../../ohter/picture/images/user.png');
}

div.user>span {
    float: right;
    height: 33px;
    margin: 1px;
    margin-left: 3px;
    line-height: 33px;
    text-align: center;
    font-size: 14px;
    color: #797979;
}

div.banner {
    height: 420px;
    background-color: #1c036c;
}

div.bangxing {
    height: 420px;
    /* background-color: pink; */
    background: url('../../../picture/banner2.png') no-repeat top center;

}
.subnav {
    float: left;
    width: 190px;
    height: 420px;
    background: rgba(0, 0, 0, 0.3);
}
.subnav li a {
    font-size: 14px;
    color: #ffffff;
}
.subnav li {
    height: 45px;
    line-height: 45px;
    padding: 0 20px;
}
.subnav li a span {
    float: right;
}
.subnav li a:hover {
    color: #0584cf;
}
div.course {
    float: right;
    height: 300px;
    width: 230px;
    /* 浮动的盒子没有外边距合并的问题 */
    margin-top: 50px;
    background-color: #ffffff;
}
div.course h1.title {
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: #9bceea;
    color: #ffffff;
    font-size: 18px;
}
div.bd {
    padding: 0 20px;
}
div.bd ul {
    height: 195px;

    /* background-color: pink; */
}
div.bd ul li {
    height: 54px;
    border-bottom: solid 1px #a5a5a5;
    margin-top: 10px;
}
div.bd ul li h4 {
    color: #5a5a5a;
}
div.bd ul li p {
    color: #a5a5a5;
    font-size: 12px;
}
div.bd ul li a span {
    font-size: 14px;
}
.bd .all {
    display: block;
    height: 38px;
    border: 1px solid #00a4ff;
    line-height: 38px;
    color: #00a4ff;
    text-align: center;
    font-size: 16px;
  font-weight: 700;
}
div.jp1 {
    height: 23px;
    background-color: #ffffff;
    padding: 20px 0;
    margin-top: 10px;
    box-shadow: 0 2px 3px 3px rgba(0, 0, 0, 0.1) ;
}
div.jp1  a.one {
    float: left;
    color: #00a4ff;
    width: 65px;
   padding: 0 35px;
  
}
div.jp1 ul {
    float: left;

}
div.jp1 ul li {
    
    float: left;
    padding:  0 20px;
    border-left: solid 1px #bfbfbf;
}
div.jp1  ul li a{
    color: #050505;
}
div.jp1  a.two {
    float: right;
     color: #00a4ff;
    width: 65px;
   padding: 0 35px;
}
div.jp2 {
    height: 600px;
    background-color: #f3f5f7;
    margin-top: 30px;
}
div.jp2 div.head {
    height: 45px;
    background-color: #f3f5f7;
}
div.jp2 div.head h3 {
    float: left;
    font-size: 20px;
    color: #494949;
    text-align:left;

}
div.jp2 div.head a {
    float: right;
    font-size: 12px;
    color: #494949;
    padding: 10px 30px 0 0;
}
div.jp2 div.head a:hover {
    color: #00a4ff;
}
div.jp2 ul {
  
    background-color: #f3f5f7;
}
div.jp2 ul:before,
div.jp2 ul:after {
        content: "";
        display: table;

       }
       div.jp2 ul:after {
        clear: both;
       }
div.jp2 ul li {
    float: left;
    /* 
    1200-230*5=1200-1150=50
    50/4=12.5
    */
    width: 230px;
    height: 270px;
    background-color: #ffffff;
    
    margin-left: 12.5px;
}
div.jp2 li.one {
    margin-left: 0;
}
div.jp2 li.five {
    margin-left: 0;
}
li.top {
    margin-bottom: 12.5px;
}
div.jp2 ul li img {
    width: 230px;
    height: 150px;
}
div.bottom {
    padding: 25px 10px 30px  20px;
}
div.jp2 h3.title {
 
    font-size: 15px;
}
div.other {
    padding-top: 10px;
}
div.other span.type {
    color: orange;
}
div.other span.count {
    color: #797979;
}